﻿using Alos.IRepository;
using Alos.IService;
using PetaPoco;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Alos.Entity;
using Alos.Common;

namespace Alos.Service
{
    public class TeachingMaterialService : BaseService<TeachingMaterial>, ITeachingMaterialService
    {
        ITeachingMaterialRepository TeachingMaterialRepository;
        public TeachingMaterialService(ITeachingMaterialRepository _TeachingMaterialRepository)
        {
            TeachingMaterialRepository = _TeachingMaterialRepository;
        }
        public IEnumerable<dynamic> GetTeachingMaterialByUid(int id)
        {
            return TeachingMaterialRepository.GetTeachingMaterialByUid(id);
        }
    }
}
